Skip to content

fix(build): Add missing CLI entry point and upgrade Lux to v0.28.0 - #35

Merged
tkolleh merged 4 commits into
mainfrom
fix-build-issues
Apr 9, 2026
Merged

fix(build): Add missing CLI entry point and upgrade Lux to v0.28.0#35
tkolleh merged 4 commits into
mainfrom
fix-build-issues

Conversation

@tkolleh

@tkolleh tkolleh commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Summary

This PR fixes the build failures in GitHub Actions by addressing the root cause identified in the logs: missing CLI entry point file and outdated Lux versions.

Changes:

  1. Added missing bin/spin.lua: CLI entry point that parses arguments using roda.argp and executes commands with spinner feedback
  2. Fixed path handling in justfile: Corrected absolute path references in compile recipe
  3. Upgraded Lux to v0.28.0: Updated all GitHub Actions workflows from mixed versions (0.18.8 for tests, 0.25.3 for releases) to consistent 0.28.0
  4. Updated documentation: AGENTS.md reflects new Lux version

Root Cause Analysis:

Validation:

  • ✅ All unit tests pass (165/165)
  • ✅ CLI integration tests pass (7/7 scenarios)
  • ✅ Full CI pipeline passes (just all)
  • ✅ Binary compilation successful (just build)
  • ✅ Environment-agnostic solutions (no hardcoded paths)

Notes:

  • bin/spin.lua uses existing roda.argp module for GNU-style argument parsing
  • Lux 0.28.0 includes fixes for busted/penlight transitive dependency issues
  • Maintains compatibility with Lua 5.4 (CI) and 5.5 (local development)

tkolleh added 3 commits April 5, 2026 17:27
This resolves the 'luastatic: command not found' error by allowing Lux to automatically resolve the local executable instead of modifying the system PATH.
- Create bin/spin.lua with CLI argument parsing using roda.argp
- Fix absolute path handling in justfile compile recipe
- Upgrade all GitHub Actions workflows from Lux 0.18.8/0.25.3 to 0.28.0
- Update AGENTS.md documentation to reflect new version
- Add validation check for bin/spin.lua existence before compilation
@tkolleh
tkolleh force-pushed the fix-build-issues branch from 4fed8ff to 42d3a05 Compare April 9, 2026 00:45
@tkolleh
tkolleh enabled auto-merge (rebase) April 9, 2026 00:47
@tkolleh
tkolleh disabled auto-merge April 9, 2026 00:53
@tkolleh
tkolleh merged commit 259d3db into main Apr 9, 2026
2 checks passed
@tkolleh
tkolleh deleted the fix-build-issues branch April 9, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant